add_definitions(-DZIP_STD)

# Needs to remove -Wall -Wextra, and especially -Werror from the compilation flags.
string(REGEX REPLACE "-W[a-z]*" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")

add_library(zip OBJECT
    zip.cpp unzip.cpp
)
